#include "searchatom.h"
#include "ui_searchatom.h"

SearchAtom::SearchAtom(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SearchAtom)
{
    ui->setupUi(this);
}

void SearchAtom::setResult(QString res)
{
    ui->resultLabel->setText(res);
}

void SearchAtom::setWhitePlayer(QString name)
{
    ui->whitePlayersName->setText(name);
}

void SearchAtom::setBlackPlayer(QString name)
{
    ui->blackPlayersName->setText(name);
}

SearchAtom::~SearchAtom()
{
    delete ui;
}
